﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace MvcApplication1.Controllers
{
    public class ProjectController : Controller
    {
        //
        // GET: /Project/

        public ActionResult Index()
        {
            //ProjectService.ProjectServiceClient service = new ProjectService.ProjectServiceClient();

            //ProjectService.Project model = service.GetProjectInfo(id);

            return View();
        }

        public ActionResult Details(int id)
        {
            ProjectService.ProjectServiceClient service = new ProjectService.ProjectServiceClient();

            ProjectService.Project model = (ProjectService.Project)service.GetProjectInfo(id);

            return View(model);
        }

    }
}
